package com.sc.nft.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dao.AdvertisementInfoDao;
import com.sc.nft.entity.AdvertisementInfo;
import com.sc.nft.entity.vo.AdminAdvertisementInfoVO;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import com.sc.nft.service.AdvertisementInfoService;
import org.springframework.stereotype.Service;

/**
 * 服务接口实现
 *
 * @author rdg
 * @since 2022-05-30 10:09:02
 * @description 由 Mybatisplus Code Generator 创建
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class AdvertisementInfoServiceImpl implements AdvertisementInfoService {
    private final AdvertisementInfoDao advertisementInfoDao;

    @Override
    public Page<AdvertisementInfo> listAdvertisement(int pageNo, int pageSize) {

        return advertisementInfoDao.listAdvertisement(pageNo,pageSize);
    }
}